<template>
    <button @click="clickHandler">Click me</button>
</template>
<!-- @ -->
<script>
export default {
    methods: {
        clickHandler() {
            // 子传父
            this.$emit("someEvent", 'hey')
        }
    }
}

</script>

<style lang="scss" scoped></style>